Skip to main content

Parser Node

The Parser Node gets a string to the Input Port, applies patterns, automatically generates Output Ports, extracts patterns, sends extracted patterns to the Output Ports.

Parser Node
Parser Node

In the example above the Parser Node gets the string https://www.google.com/search?q=wikipedia to the Input Port.

The pattern %{URIPROTO:protocol}://%{HOSTNAME:domain}%{URIPATH:uri_path}%{URIPARAM:param}? is applied to the input value.

The Output Ports are generated automatically and extract the following values:

  • protocol gets value https
  • domain gets value www.google.com
  • uri_path gets value /search
  • param gets value ?q=wikipedia

The amount of the Output Ports may be equal or less then the number of applied patterns.

The Grok filter plugin semantics is used to define patterns: Grok filter plugin